package com.example.hotelservice.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.example.hotelservice.pojo.po.RoomTypePO;
import com.example.hotelservice.pojo.vo.RoomTypeVO;

import java.util.List;

/**
 * @author 鱼凫
 * @version 1.0
 * Create by 2023/4/11 20:40
 */

public interface RoomTypeServeice {
    RoomTypePO selectOneById(String id);

    RoomTypeVO add(RoomTypeVO roomTypeVO);

    RoomTypePO save(RoomTypeVO roomTypeVO);

    Integer deleteById(String id);

    RoomTypeVO selectOneByIdReturnVO(String id);

    RoomTypeVO saveone(RoomTypeVO roomTypeVO);

    Page<RoomTypeVO> getPage(RoomTypeVO roomTypeVO);

    List<RoomTypeVO> currentRoomTypeList(String id, Integer isIsolation);
}
